﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Server.Application.Controllers
{
    [Route("api/member")]
    [ApiController]
    public class MemberController : Controller
    {

        [HttpPost("register")]
        public ActionResult<Simple> Register(string str)
        {
            return Json(new Simple()
            {
                Dt = DateTime.Now
            });
        }
    }
}

public class Simple
{
    public DateTime Dt { get; set; }
}
